package com.ruoyi.store.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 店铺管理对象 t_store
 * 
 * @author 陈捷
 * @date 2024-11-18
 */
public class TStore extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 店铺ID */
    private String storeId;

    /** 商家id */
    private Long businessId;

    /** 店铺名称 */
    @Excel(name = "店铺名称")
    private String storeName;

    /** 店铺地址 */
    @Excel(name = "店铺地址")
    private String storeAddress;

    /** 店铺电话 */
    @Excel(name = "店铺电话")
    private String storePhone;

    /** 店铺电子邮件 */
    @Excel(name = "店铺电子邮件")
    private String storeEmail;

    /** 店铺开业日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "店铺开业日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date storeOpeningDate;

    /** 店铺状态（开启或关闭） */
    private String storeStatus;

    public void setStoreId(String storeId) 
    {
        this.storeId = storeId;
    }

    public String getStoreId() 
    {
        return storeId;
    }
    public void setBusinessId(Long businessId) 
    {
        this.businessId = businessId;
    }

    public Long getBusinessId() 
    {
        return businessId;
    }
    public void setStoreName(String storeName) 
    {
        this.storeName = storeName;
    }

    public String getStoreName() 
    {
        return storeName;
    }
    public void setStoreAddress(String storeAddress) 
    {
        this.storeAddress = storeAddress;
    }

    public String getStoreAddress() 
    {
        return storeAddress;
    }
    public void setStorePhone(String storePhone) 
    {
        this.storePhone = storePhone;
    }

    public String getStorePhone() 
    {
        return storePhone;
    }
    public void setStoreEmail(String storeEmail) 
    {
        this.storeEmail = storeEmail;
    }

    public String getStoreEmail() 
    {
        return storeEmail;
    }
    public void setStoreOpeningDate(Date storeOpeningDate) 
    {
        this.storeOpeningDate = storeOpeningDate;
    }

    public Date getStoreOpeningDate() 
    {
        return storeOpeningDate;
    }
    public void setStoreStatus(String storeStatus) 
    {
        this.storeStatus = storeStatus;
    }

    public String getStoreStatus() 
    {
        return storeStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("storeId", getStoreId())
            .append("businessId", getBusinessId())
            .append("storeName", getStoreName())
            .append("storeAddress", getStoreAddress())
            .append("storePhone", getStorePhone())
            .append("storeEmail", getStoreEmail())
            .append("storeOpeningDate", getStoreOpeningDate())
            .append("storeStatus", getStoreStatus())
            .toString();
    }
}
